Update oXs_out_frsky.cpp
[openXsensor.git] / oXs_Configurator / Python 37 Sources / oxsJeti.py
blob2afc838b0892b8c46110a8377c5febd4e76e30bf
1 from oxsConfig import ttk , W , E , fJeti , jetiTemperatureSourceVar , jetiVoltageSourceVar
3 #define VOLTAGE_SOURCE VOLT_1 // select between VOLT_1, VOLT_2, VOLT_3 , VOLT_4, VOLT_5 , VOLT_6
4 #define TEMPERATURE_SOURCE NTC // select between MS5611 and NTC
6 ttk.Label(fJeti, text="Voltage source").grid(column= 0, row=1, padx= (15,5), pady=(10,5) , sticky=('E'))
7 ttk.Label(fJeti, text="Temperature source" ).grid(column= 0, row=2, pady=(15,5) , sticky=('WE'))
8 jetiVoltageSourceBox = ttk.Combobox(fJeti, textvariable=jetiVoltageSourceVar,
9 values=('Not sent','VOLT_1', 'VOLT_2', 'VOLT_3' , 'VOLT_4', 'VOLT_5' , 'VOLT_6' ),
10 state="readonly")
11 jetiVoltageSourceBox.grid(column=1, row=1, pady=(15,5) ,sticky=('W') )
12 jetiTemperatureSourceBox = ttk.Combobox(fJeti, textvariable=jetiTemperatureSourceVar,
13 values=('Not sent','MS5611', 'NTC' ),
14 state="readonly")
15 jetiTemperatureSourceBox.grid(column=1, row=2, pady=(15,5) ,sticky=('W') )